package com.qiantu.api.http;

import android.content.Context;

import com.qiantu.api.db.LLDeviceDBManager;

public class HttpBaseData {
    private volatile static HttpBaseData instance = null;
    private final static Object object = new Object();
    public boolean isLocalService;
    public String localServiceUrl;
    public String localServiceWs;
    public boolean isLanMode;
    public String lanIP;
    public static HttpBaseData getInstance() {
        if (instance == null) {
            synchronized (object) {
                if (instance == null) {
                    instance = new HttpBaseData();
                }
            }
        }
        return instance;
    }

    public boolean isLocalService() {
        return isLocalService;
    }

    public void setLocalService(boolean localService) {
        isLocalService = localService;
    }

    public String getLocalServiceUrl() {
        return localServiceUrl;
    }

    public void setLocalServiceUrl(String localServiceUrl) {
        this.localServiceUrl = localServiceUrl;
    }

    public String getLocalServiceWs() {
        return localServiceWs;
    }

    public void setLocalServiceWs(String localServiceWs) {
        this.localServiceWs = localServiceWs;
    }

    public boolean isLanMode() {
        return isLanMode;
    }

    public void setLanMode(boolean lanMode) {
        isLanMode = lanMode;
    }

    public String getLanIP() {
        return lanIP;
    }

    public void setLanIP(String lanIP) {
        this.lanIP = lanIP;
    }
}
